import datetime

import _pytest.hookspec
import pytest
from requests import session

from commons.session import ZlSession

@pytest.fixture(scope='session')
def session():

    yield ZlSession('http://47.107.116.139')

def pytest_configure():
    print(datetime.datetime.now(),"开始调用hook")

def pytest_unconfigure():
    print(datetime.datetime.now(),"结束调用hook")